package cn.wxq.daily.empdailymgforserve.service;
import cn.wxq.daily.empdailymgforserve.domain.AbilitySingle;
import java.util.List;


public interface AbilitySingleService {
    /**
     * 完善试卷，向最新的试卷添加试题
     * @param abilitySingle
     */
    public int addQuestion(AbilitySingle abilitySingle);

    /**
     * 获取这套试卷所关联的题目
     * @param alityPaperId
     * @return
     */
    public List<AbilitySingle> papersingles(Integer alityPaperId);

    /**
     * 当single表中相关试题存入到题库中，删除single表中的试题
     * @param alityPaperId
     */
    public int deletePaper(Integer alityPaperId);


    /**
     * 统计一套试卷中有多少题目
     * @param alityPaperId
     * @return
     */
    public int totalCount(Integer alityPaperId);
}
